#ifndef _H_GL
#define _H_GL

#include <gl/gl.h>
#include <gl/glu.h>

#include "font.h"
#include "color.h"
#include <windows.h>

void glPrint(font*,const char*, ...);
void glCurPrint(font*,unsigned int,int*,const char*, ...);
void glGetCursorPrint(font*,int,unsigned int*,int*,const char*, ...);

void glSetRenderArea(RECT rect,int = 0,int = 0);

void glDrawRect(RECT rect,int = 0,int = 0);

float glIntToFloat(int);

void glColor(color*);

void glRasterPos(int,int);
void glRasterOffset(int,int);

int getRasterXi();
int getRasterYi();

#endif
